<?php

class UsersController extends AdminController {

    //public $layoult = "";

    function actionIndex() {
        if (Yii::app()->request->getIsAjaxRequest()) {
            $this->layout = self::XHR_LAYOUT;
        }

        $usersList = User::model()->findAll();

        $this->render("//admin/users/index", array('usersList' => $usersList));
    }

    function actionShow() {
        echo "action SHOW";
    }
}
